home *** CD-ROM | disk | FTP | other *** search
/ Magnum One / Magnum One (Mid-American Digital) (Disc Manufacturing).iso / d3 / dbmail.arc / MINST1.DOC < prev    next >
Text File  |  1988-06-18  |  77KB  |  1,848 lines

  1.                   CREATE MAILING LABEL or STANDARD LETTER FILE
  2.  
  3.  
  4.         INTRODUCTION
  5.         
  6.         This  section explains the operation of the Create Mailing  Label 
  7.         or Standard Letter File Menu option.  This menu option allows the 
  8.         user to select mailing list entries based on the codes entered to 
  9.         each record. The selected records are copied into a file which is 
  10.         available  for  immediate printing of mailing labels or which  is 
  11.         reformatted into another file,  MLABELS.TXT,  for input to a word 
  12.         processing program such as Word Star.
  13.         
  14.         The Mailing List system will print mailing labels, 3 1/2 x 15/16, 
  15.         one up,  maximum of 5 lines per label.  One label is printed  for 
  16.         every record selected.
  17.         
  18.         Alternatively,  the  system will create a file named MLABELS.TXT. 
  19.         This  file contains the names and addresses of mail list  records 
  20.         selected  by the system from the selection criteria  provided  by 
  21.         the  user.  This  file is input to your word processor  to  print 
  22.         mailing labels, rollodex cards or custom letters.
  23.         
  24.         Exhibit III descibes the structure of the file MLABELS.TXT.
  25.         
  26.         The Mailing List system has been interfaced to the Word Star/Mail 
  27.         Merge  word  processor.  The onscreen instructions refer to  Word 
  28.         Star files supplied with the system which accomplish the printing 
  29.         tasks.
  30.         
  31.         The file MLABELS.TXT may be read by any word processor. The other 
  32.         files  referenced in the onscreen explanations may be altered  to 
  33.         conform to the requirements of other word processors.  It is  the 
  34.         user's  responsibility  to prepare the interface with other  word 
  35.         processors.  To  assist the user,  Exhibits IV and V describe the 
  36.         relationship  of  these format files and the creation of  a  form 
  37.         letter using LETTER.FMT as a framework.
  38.         
  39.         The file may also be read by a BASIC,  or other program as input. 
  40.         The exact structure of this file is listed in Exhibit III.
  41.         
  42.         Names  entered  in  the  "First  Name,   Last  Name"  format  are 
  43.         unscrambled  to the "First Name   Last Name" format.  The  system 
  44.         performs this function on the NAME and CONTACT NAME fields, only.
  45.         
  46.         The rest of this section provides detailed instructions for using 
  47.         the features and capabilities of this module.
  48.         
  49.         Several different "run through's" of this module are presented to 
  50.         illustrate the features of the system.  A listing of the  mailing 
  51.         list  file,  MINI,  appears as Exhibit VI at the end of this sec
  52.         tion.  Other listings which illustrate the selection of data  are 
  53.         also included in the exhibits.
  54.  
  55.  
  56.  
  57.  
  58.  
  59.  
  60.  
  61.          10/7/84                     1                       southland
  62.  
  63.  
  64.  
  65.  
  66.  
  67.                   CREATE MAILING LABEL or STANDARD LETTER FILE
  68.  
  69.  
  70.         DETAILED INSTRUCTIONS
  71.         
  72.         This  menu  option is accessed from the Main  Menu  by  selecting 
  73.         option 2:
  74.         
  75.         
  76.         
  77.          _______________________________________________________________
  78.         |                                                               |
  79.         |                                                               |
  80.         |         L  I  S  T     M  A  N  A  G  E  R                    |
  81.         |                                                               |
  82.         |             VERSION 2.29       09/27/84                       |
  83.         |                       MAIN MENU                               |
  84.         |                                                               |
  85.         |             1 - ENTER/EDIT MAILING LIST DATA                  |
  86.         |             2 - CREATE MAILING LABEL or STANDARD LETTER FILE  |
  87.         |             3 - PRINT MAILING LIST FILE                       |
  88.         |             4 - MAILING LIST FILE MAINTENANCE                 |
  89.         |             5 - MAINTAIN CODE MASTER                          |
  90.         |                                                               |
  91.         |             98 - RETURN TO dBASE                              |
  92.         |             99 - RETURN TO SYSTEM                             |
  93.         |                                                               |
  94.         |        MINI = Mailing List file in use                        |
  95.         |                                                               |
  96.         |       ENTER OPTION NUMBER:2:                                  |
  97.         |                                                               |
  98.         |                                                               |
  99.         |_______________________________________________________________|
  100.         
  101.         
  102.         
  103.         
  104.         
  105.         
  106.         Upon  entry  to  the  module,  the system  displays  the  initial 
  107.         selection option:
  108.         
  109.          ______________________________________________________________
  110.         |                                                              |
  111.         |                                                              |
  112.         |  Select Records from the Mailing List Database               |
  113.         |                                                              |
  114.         |   1 - Select Data from ALL Records                           |
  115.         |   2 - Select Data from Input Reference Code                  |
  116.         |   3 - Select Data from Logical (Boolean) Selection Criteria  |
  117.         |                                                              |
  118.         | Input Option  :0:                                            |
  119.         |                                                              |
  120.         |______________________________________________________________|
  121.         
  122.         This  option  allows the user to choose the  general  scheme  for 
  123.         selecting records from the Mail List File.
  124.         
  125.  
  126.  
  127.          10/7/84                     2                       southland
  128.  
  129.  
  130.  
  131.  
  132.  
  133.                   CREATE MAILING LABEL or STANDARD LETTER FILE
  134.  
  135.  
  136.         Option  1,  Select  Labels from ALL Records,  allows the user  to 
  137.         select records based on zip code, only.
  138.         
  139.         Option  2,  Select Labels from Input Reference Code,  allows  the 
  140.         user  to  select by zip code and by the appearance  of  a  single 
  141.         code.  To be selected,  the zip code of the Mail List record must 
  142.         fall within the range entered by the user and the code entered by 
  143.         the user must appear in that record's codes field.
  144.         
  145.         Option 3,  Select Labels from Logical Selection Criteria,  allows 
  146.         the user to select by zip code,  as in Options 1 and 2,  and by a 
  147.         complex  criteria  of  codes appearing in the  codes  field.  The 
  148.         selection  criteria  for this option is discussed  later  in  the 
  149.         section.
  150.         
  151.         
  152.         
  153.         OPTION 1, SELECT LABELS FOR ALL RECORDS
  154.         
  155.         This option allows the user to select records based on zip  code, 
  156.         only.  To be selected,  the zip code of the Mail List record must 
  157.         fall  within the range entered by the user.  Enter the value 1 at 
  158.         the prompt:
  159.         
  160.          ______________________________________________________________
  161.         |                                                              |
  162.         |                                                              |
  163.         |  Select Records from the Mailing List Database               |
  164.         |                                                              |
  165.         |   1 - Select Data from ALL Records                           |
  166.         |   2 - Select Data from Input Reference Code                  |
  167.         |   3 - Select Data from Logical (Boolean) Selection Criteria  |
  168.         |                                                              |
  169.         | Input Option  :1:                                            |
  170.         |                                                              |
  171.         |______________________________________________________________|
  172.         
  173.         
  174.         
  175.         The  system next requests the user to pick the sequence in  which 
  176.         the selected data elements will appear:
  177.         
  178.         
  179.                    __________________________________________
  180.                   |                                          |
  181.                   |                                          |
  182.                   |    Select Print Sequence                 |
  183.                   |                                          |
  184.                   |         1 - Zip Code                     |
  185.                   |         2 - Alphabetically by Name       |
  186.                   |                                          |
  187.                   |    Input Option  :1:                     |
  188.                   |                                          |
  189.                   |__________________________________________|
  190.         
  191.  
  192.  
  193.          10/7/84                     3                       southland
  194.  
  195.  
  196.  
  197.  
  198.  
  199.                   CREATE MAILING LABEL or STANDARD LETTER FILE
  200.  
  201.  
  202.         Option 1 arranges the output in Zip Code order.
  203.         
  204.         Option 2 arranges the output in alphabetic sequence,  alphabetiz
  205.         ing on the Name field.
  206.         
  207.         The  alphabetic sort routine forces all characters to upper  case 
  208.         for  sorting.  Thus,  "A" sorts the same as  "a";  normally,  the 
  209.         computer  treats lower case "a" as a different value  from  upper 
  210.         case "A".
  211.         
  212.         If option 2 is not selected, the system defaults the selection to 
  213.         option 1 regardless of the keyed entry.
  214.         
  215.         In  this example,  the user has elected to sequence the  selected 
  216.         records in zip code order.
  217.         
  218.         The  system  next allows the operator to the select  the  Contact 
  219.         Name and/or Title,  if one is present,  or to substitute manually 
  220.         entered comments for either of these fields:
  221.         
  222.         
  223.          ______________________________________________________________
  224.         |                                                              |
  225.         |              Select Comment Fields Content                   |
  226.         |                                                              |
  227.         |                 0 - Input comments 1 and 2                   |
  228.         |                 1 - Contact Name for Comment #1              |
  229.         |                     Title for Comment # 2                    |
  230.         |                 2 - Input Comment # 1                        |
  231.         |                     Contact Name for Comment # 2             |
  232.         |                 3 - Input Comment # 1                        |
  233.         |                     Title for Comment # 2                    |
  234.         |                                                              |
  235.         |              INPUT OPTION: :0:                               |
  236.         |______________________________________________________________|
  237.         
  238.         
  239.         
  240.         Selecting  option  0 allows the user to enter values  which  will 
  241.         appear in the NAME and TITLE positions on labels or the  standard 
  242.         letter. Entering blanks effectively deletes these fields.
  243.         
  244.         Selecting  option  1  causes the system to display the  NAME  and 
  245.         TITLE fields from records with a 'C' code (records with a company 
  246.         name  and a company contact name and title).  Records with a  'P' 
  247.         code are treated as though these fields did not exist.
  248.         
  249.         Options  2 and 3 are variations on option 1 with the system  sup
  250.         plying  one of the fields and the user,  the other.  The  Contact 
  251.         Name  and  Title are supplied only for type  'C'  records;  these 
  252.         fields default to blanks for type 'P' records.
  253.         
  254.  
  255.  
  256.  
  257.  
  258.  
  259.          10/7/84                     4                       southland
  260.  
  261.  
  262.  
  263.  
  264.  
  265.                   CREATE MAILING LABEL or STANDARD LETTER FILE
  266.  
  267.  
  268.          ______________________________________________________________
  269.         |                                                              |
  270.         |              Select Comment Fields Content                   |
  271.         |                                                              |
  272.         |                 0 - Input comments 1 and 2                   |
  273.         |                 1 - Contact Name for Comment #1              |
  274.         |                     Title for Comment # 2                    |
  275.         |                 2 - Input Comment # 1                        |
  276.         |                     Contact Name for Comment # 2             |
  277.         |                 3 - Input Comment # 1                        |
  278.         |                     Title for Comment # 2                    |
  279.         |                                                              |
  280.         |              INPUT OPTION: :1:                               |
  281.         |______________________________________________________________|
  282.         
  283.         
  284.         The  operator  elected  to print the Contact Name and  Title  for 
  285.         record type 'C'. Contact Name and Title remain blank for type 'P' 
  286.         records.
  287.         
  288.         
  289.         The  system  next  prompts the operator for the  type  of  output 
  290.         desired.
  291.         
  292.         
  293.         
  294.          ______________________________________________________________
  295.         |                                                              |
  296.         |                                                              |
  297.         | Select Output Desired                                        |
  298.         |                                                              |
  299.         |         1 - Create Output FILE for Input to Word Processor   |
  300.         |           (Print Custom Letters, rollodex, Special Labels)   |
  301.         |                                                              |
  302.         |         2 - Print Mailing Labels ( 1 up, size 3"x1")         |
  303.         |                                                              |
  304.         | Input Option :0:                                             |
  305.         |                                                              |
  306.         |______________________________________________________________|
  307.         
  308.         
  309.         Option 1,  Create Output File, writes an ASCII file, MLABELS.TXT, 
  310.         readable by most BASIC programming languages and word processors. 
  311.         This  file is input to a word processor for printing custom  let
  312.         ters,  rollodex  cards,  custom labels,  etc.  Included with  the 
  313.         system  are  interface files to allow Word Star / Mail  Merge  to 
  314.         print rollodex cards, 1 up and 3 up mailing labels. Also included 
  315.         is a structure file,  LETTER.FMT,  which provides a framework for 
  316.         constructing custom letters.
  317.         
  318.         After  the letter has been entered,  the file must be renamed  to 
  319.         LETTER.TXT  as  this is the file the print program looks  for  to 
  320.         find the letter format.
  321.         
  322.         Exhibit  V displays the file LETTER.FMT and Exhibit IV  describes 
  323.  
  324.  
  325.          10/7/84                     5                       southland
  326.  
  327.  
  328.  
  329.  
  330.  
  331.                   CREATE MAILING LABEL or STANDARD LETTER FILE
  332.  
  333.  
  334.         the  steps  to follow when preparing a custom letter  using  this 
  335.         file.
  336.         
  337.         Option 2,  Print Mailing Labels, provides the user with the means 
  338.         to  print labels directly from the records selected without leav
  339.         ing the system.  The print routine is limited to printing  labels  
  340.         15/16" deep by 3 1/2" wide,  1 up (across).  The system prints as 
  341.         many as five lines per label:
  342.         
  343.              Line      Contents
  344.         
  345.               1        CONTACT NAME   TITLE
  346.                                  or
  347.                        COMMENT 1   COMMENT 2
  348.                                  or
  349.                        any combination of above depending on selection
  350.                                  or
  351.                        no line at all if both fields blank
  352.         
  353.               2        NAME
  354.               3        ADDRESS 1
  355.               4        ADDRESS 2  or no line at all if blank
  356.               5        CITY  STATE  ZIP
  357.         
  358.         
  359.         Note  that  the label print routine prints the Contact  Name  and 
  360.         Title  or Comment 1 and Comment 2 on the first line of the label. 
  361.         If one or both comments are supplied by the user, the user should 
  362.         keep  in mind that this (these) comments will print on the  first 
  363.         line  of the label.  Failure to remember this may result  in  odd 
  364.         appearing labels.
  365.         
  366.         More  complex  label printing may be accomplished by creating  an 
  367.         output file as input to a BASIC program or word processor (Option 
  368.         1).
  369.         
  370.         
  371.          ______________________________________________________________
  372.         |                                                              |
  373.         |                                                              |
  374.         | Select Output Desired                                        |
  375.         |                                                              |
  376.         |         1 - Create Output FILE for Input to Word Processor   |
  377.         |           (Print Customer Letters, rollodex, Special Labels) |
  378.         |                                                              |
  379.         |         2 - Print Mailing Labels ( 1 up, size 3"x1")         |
  380.         |                                                              |
  381.         | Input Option :1:                                             |
  382.         |                                                              |
  383.         |______________________________________________________________|
  384.         
  385.         
  386.         The operator selected option 1, create output file.
  387.         
  388.         The user next has the option of updating those records which  are 
  389.  
  390.  
  391.          10/7/84                     6                       southland
  392.  
  393.  
  394.  
  395.  
  396.  
  397.                   CREATE MAILING LABEL or STANDARD LETTER FILE
  398.  
  399.  
  400.         to be selected by the system with a user entered code:
  401.         
  402.         
  403.         ----------------------------------------------------------------
  404.         
  405.         Update Data Records Selected for Labels with User Specified Code
  406.         
  407.                 1 - Do NOT Update Selected Records with Code
  408.                 2 - Update Selected Records with User Specified Code
  409.         
  410.         Input Option :0:
  411.         
  412.         ----------------------------------------------------------------
  413.         
  414.         
  415.         
  416.         This  option  is useful in situations where the  user  must  know 
  417.         which records were selected at some future time. For example, the 
  418.         user  may elect to mark all selected records with the code SEPT14 
  419.         to  indicate  that the mailing list name was sent the  letter  of 
  420.         Sept.  14. In future selections, the user may wish to make use of 
  421.         the fact that this mailing list name received the letter of  Sept 
  422.         14 in the selection criteria.
  423.         
  424.         
  425.         
  426.         ----------------------------------------------------------------
  427.         
  428.         Update Data Records Selected for Labels with User Specified Code
  429.         
  430.                 1 - Do NOT Update Selected Records with Code
  431.                 2 - Update Selected Records with User Specified Code
  432.         
  433.         Input Option :1:
  434.         
  435.         ----------------------------------------------------------------
  436.         
  437.         
  438.         
  439.         The user elected not to update selected records with a code.
  440.         
  441.         The  system  next  asks  for the detailed  criteria  to  use  for 
  442.         selecting  records  from the Mailing List data  base.  Since  the 
  443.         operator  previously selected Option 1,  the system displays  the 
  444.         menu for All Records:
  445.         
  446.         
  447.          ______________________________________________________________
  448.         |                                                              |
  449.         |              Develop Labels from all Records                 |
  450.         |                                                              |
  451.         |                                                              |
  452.         |         Input ZIP CODE Range   :    0:   TO  :99999:         |
  453.         |                                                              |
  454.         |______________________________________________________________|
  455.  
  456.  
  457.          10/7/84                     7                       southland
  458.  
  459.  
  460.  
  461.  
  462.  
  463.                   CREATE MAILING LABEL or STANDARD LETTER FILE
  464.  
  465.  
  466.         
  467.         
  468.         Pressing  carriage return at the low and high field values effec
  469.         tively selects all records from the file.
  470.         
  471.          ______________________________________________________________
  472.         |                                                              |
  473.         |         Develop Labels from all Records                      |
  474.         |                                                              |
  475.         |                                                              |
  476.         |    Input ZIP CODE Range   :    0:   TO  :99999:              |
  477.         |                                                              |
  478.         |                                                              |
  479.         |                                                              |
  480.         |        13  RECORDS SELECTED.                                 |
  481.         |                                                              |
  482.         |    Do you wish to continue? (Y/N) :Y                         |
  483.         |                                                              |
  484.         |    00013 RECORDS INDEXED                                     |
  485.         |                                                              |
  486.         |______________________________________________________________|
  487.         
  488.         
  489.         The  operator  accepted the default values for high and  low  zip 
  490.         codes.  The  system  selected all records on the file  (13).  The 
  491.         system  next  asked  the user if  this  selection  count  "looked 
  492.         right".
  493.         
  494.         Responding  with a 'N' would return the user to the Main Menu.  A 
  495.         'Y' continues processing:
  496.         
  497.         
  498.          ______________________________________________________________
  499.         |                                                              |
  500.         |                                                              |
  501.         |              0 Data Records have been processed              |
  502.         |                                                              |
  503.         |______________________________________________________________|
  504.          
  505.         
  506.         The system "counts up" the number of records processed into  word 
  507.         processor  compatible  format until the entire file  of  selected 
  508.         records have been converted:
  509.         
  510.          ______________________________________________________________
  511.         |                                                              |
  512.         |                                                              |
  513.         |             13 Data Records have been processed              |
  514.         |                                                              |
  515.         |______________________________________________________________|
  516.         
  517.         
  518.         The system then displays the instruction banner for printing the 
  519.         selected data in the desired format:
  520.  
  521.  
  522.  
  523.          10/7/84                     8                       southland
  524.  
  525.  
  526.  
  527.  
  528.  
  529.                   CREATE MAILING LABEL or STANDARD LETTER FILE
  530.  
  531.  
  532.          ________________________________________________________________
  533.         |                                                                |
  534.         |                                                                |
  535.         |             13 Data Records have been processed                |
  536.         |                                                                |
  537.         |                                                                |
  538.         |                                                                |
  539.         | To Print labels, use the MAILMERGE option in WORDSTAR          |
  540.         |                                                                |
  541.         | The print file name is: MLPRINT                                |
  542.         |                                                                |
  543.         | Enter this value when MAILMERGE asks for the file to print     |
  544.         |                                                                |
  545.         |                                                                |
  546.         | To Prepare a personalized letter, enter the text of your letter|
  547.         |   in the file LETTER.TXT. The file LETTER.FMT has a sample     |
  548.         |   layout and suggestions.                                      |
  549.         |                                                                |
  550.         | To Print personalized letters, use the MAILMERGE               |
  551.         |    option in WORDSTAR                                          |
  552.         |                                                                |
  553.         | The print file name is: LETTRPRN                               |
  554.         |                                                                |
  555.         | Enter this value when MAILMERGE asks for the file to print     |
  556.         |        Hit <cr> to continue: :                                 |
  557.         |                                                                |
  558.         |                                                                |
  559.         |                                                                |
  560.         |________________________________________________________________|
  561.         
  562.         
  563.         The  user  is returned to the Main Menu when the  return  key  is 
  564.         pressed.
  565.         
  566.         Exit  the system and run Word Star to print the information  just 
  567.         selected in the desired format.
  568.         
  569.         After all labels,  letters,  etc. have been printed from the most 
  570.         recently created file,  MLABELS.TXT,  this file may be deleted or 
  571.         saved for future use. If the the file MLABELS.TXT is not deleted, 
  572.         the  system  will warn the user the next time the CREATE  MAILING 
  573.         LABEL ...  option is selected.  The system displays this  warning 
  574.         message:
  575.          
  576.  
  577.  
  578.  
  579.  
  580.  
  581.  
  582.  
  583.  
  584.  
  585.  
  586.  
  587.  
  588.  
  589.          10/7/84                     9                       southland
  590.  
  591.  
  592.  
  593.  
  594.  
  595.                   CREATE MAILING LABEL or STANDARD LETTER FILE
  596.  
  597.  
  598.         
  599.          ______________________________________________________________
  600.         |                                                              |
  601.         |                                                              |
  602.         |                                                              |
  603.         |                                                              |
  604.         |    LABEL PRINT FILE FOUND ON DISK. THIS PROGRAM WILL         |
  605.         |                                  OVERWRITE THE DATA ON FILE. |
  606.         |                                                              |
  607.         |       DO YOU WISH TO CONTINUE? (Y/N) :Y:                     |
  608.         |                                                              |
  609.         |                                                              |
  610.         |                                                              |
  611.         |______________________________________________________________|
  612.         
  613.         
  614.         
  615.         The user may elect to overwrite the existing file by entering 'Y' 
  616.         (or pressing <cr> ). 
  617.         
  618.         The  user may discontinue the job and return to the Main Menu  by 
  619.         entering 'N'.
  620.  
  621.  
  622.  
  623.  
  624.  
  625.  
  626.  
  627.  
  628.  
  629.  
  630.  
  631.  
  632.  
  633.  
  634.  
  635.  
  636.  
  637.  
  638.  
  639.  
  640.  
  641.  
  642.  
  643.  
  644.  
  645.  
  646.  
  647.  
  648.  
  649.  
  650.  
  651.  
  652.  
  653.  
  654.  
  655.          10/7/84                     10                       southland
  656.  
  657.  
  658.  
  659.  
  660.  
  661.                   CREATE MAILING LABEL or STANDARD LETTER FILE
  662.  
  663.  
  664.         OPTION 2, SELECT LABELS FOR INPUT REFERENCE CODE
  665.         
  666.         This  option  allows the user to select by zip code  and  by  the 
  667.         appearance of a single code.  To be selected, the zip code of the 
  668.         Mail  List record must fall within the range entered by the  user 
  669.         and  the  code entered by the user must appear in  that  record's 
  670.         codes field. Enter the value 2 at the prompt:
  671.         
  672.         
  673.          ______________________________________________________________
  674.         |                                                              |
  675.         |                                                              |
  676.         |  Select Records from the Mailing List Database               |
  677.         |                                                              |
  678.         |   1 - Select Data from ALL Records                           |
  679.         |   2 - Select Data from Input Reference Code                  |
  680.         |   3 - Select Data from Logical (Boolean) Selection Criteria  |
  681.         |                                                              |
  682.         | Input Option  :2:                                            |
  683.         |                                                              |
  684.         |______________________________________________________________|
  685.         
  686.         
  687.         
  688.         The system next requests the user to select the sequence in which 
  689.         the selected data elements will appear:
  690.         
  691.         
  692.                    __________________________________________
  693.                   |                                          |
  694.                   |                                          |
  695.                   |    Select Print Sequence                 |
  696.                   |                                          |
  697.                   |         1 - Zip Code                     |
  698.                   |         2 - Alphabetically by Name       |
  699.                   |                                          |
  700.                   |    Input Option  :2:                     |
  701.                   |                                          |
  702.                   |__________________________________________|
  703.         
  704.         
  705.         The  user has elected to sequence the selected records alphabeti
  706.         cally by NAME.
  707.         
  708.         The  system  next allows the operator to select the Contact  Name 
  709.         and/or Title,  if one is present,  or to substitute manually  en
  710.         tered comments for either of these fields:
  711.         
  712.         
  713.  
  714.  
  715.  
  716.  
  717.  
  718.  
  719.  
  720.  
  721.          10/7/84                     11                       southland
  722.  
  723.  
  724.  
  725.  
  726.  
  727.                   CREATE MAILING LABEL or STANDARD LETTER FILE
  728.  
  729.  
  730.          ______________________________________________________________
  731.         |                                                              |
  732.         |              Select Comment Fields Content                   |
  733.         |                                                              |
  734.         |                 0 - Input comments 1 and 2                   |
  735.         |                 1 - Contact Name for Comment #1              |
  736.         |                     Title for Comment # 2                    |
  737.         |                 2 - Input Comment # 1                        |
  738.         |                     Contact Name for Comment # 2             |
  739.         |                 3 - Input Comment # 1                        |
  740.         |                     Title for Comment # 2                    |
  741.         |                                                              |
  742.         |              INPUT OPTION: :0:                               |
  743.         |______________________________________________________________|
  744.         
  745.         
  746.         The  operator  elected  to enter comments to appear in  place  of 
  747.         Contact Name and Title. The system prompts the operator for these 
  748.         values:
  749.         
  750.         
  751.          _____________________________________________________________
  752.         |                                                             |
  753.         |                                                             |
  754.         |                                                             |
  755.         |    Input Label CMT. 1 :                              :      |
  756.         |    Input Label CMT. 2 :                              :      |
  757.         |                                                             |
  758.         |                                                             |
  759.         |_____________________________________________________________|
  760.         
  761.         
  762.         Note that the label print routines supplied with the system print 
  763.         mailing  labels assigning CMT.  1 to Contact Name and CMT.  2  to 
  764.         Title. These two fields appear on the same print line. Therefore, 
  765.         the label routines,  MLLAB1.TXT and/or MLLAB3.TXT,  must be modi
  766.         fied by the user if each Comment should appear on a separate line 
  767.         on the label.
  768.         
  769.         This  point should also be kept in mind when formatting  the  ad
  770.         dress portion of custom letters.
  771.         
  772.         In  addition,  CMT.1 and CMT.2 replace Contact Name and  Title, 
  773.         respectively.  These  fields will not appear in the output  file, 
  774.         MLABELS.TXT .
  775.         
  776.          _____________________________________________________________
  777.         |                                                             |
  778.         |                                                             |
  779.         |                                                             |
  780.         |    Input Label CMT. 1 :ATTENTION: SALES MANAGER      :      |
  781.         |    Input Label CMT. 2 :MARKETING DEPARTMENT          :      |
  782.         |                                                             |
  783.         |                                                             |
  784.         |_____________________________________________________________|
  785.  
  786.  
  787.          10/7/84                     12                       southland
  788.  
  789.  
  790.  
  791.  
  792.  
  793.                   CREATE MAILING LABEL or STANDARD LETTER FILE
  794.  
  795.  
  796.         The  system  next  prompts the operator for the  type  of  output 
  797.         desired.
  798.         
  799.         
  800.         
  801.          ______________________________________________________________
  802.         |                                                              |
  803.         |                                                              |
  804.         | Select Output Desired                                        |
  805.         |                                                              |
  806.         |         1 - Create Output FILE fo Input to Word Processor    |
  807.         |           (Print Custom Letters, rollodex, Special Labels) |
  808.         |                                                              |
  809.         |         2 - Print Mailing Labels ( 1 up, size 3"x1")         |
  810.         |                                                              |
  811.         | Input Option :2:                                             |
  812.         |                                                              |
  813.         |______________________________________________________________|
  814.         
  815.         
  816.         The   user  wishes  to  print  mailing  labels  immediately  upon 
  817.         selection of the data records.
  818.         
  819.         The  user next has the option of updating those records which are 
  820.         selected by the system.  If desired,  the system will update  the 
  821.         records in the Mailing List data base with a user entered code:
  822.         
  823.         
  824.         
  825.         ----------------------------------------------------------------
  826.         
  827.         Update Data Records Selected for Labels with User Specified Code
  828.         
  829.                 1 - Do NOT Update Selected Records with Code
  830.                 2 - Update Selected Records with User Specified Code
  831.         
  832.         Input Option :2:
  833.         
  834.         ----------------------------------------------------------------
  835.         
  836.         
  837.         The  operator has chosen the option to update the Codes field  of 
  838.         selected  records with a user specified code.  The system prompts 
  839.         the operator to enter the desired code value:
  840.         
  841.  
  842.  
  843.  
  844.  
  845.  
  846.  
  847.  
  848.  
  849.  
  850.  
  851.  
  852.  
  853.          10/7/84                     13                       southland
  854.  
  855.  
  856.  
  857.  
  858.  
  859.                   CREATE MAILING LABEL or STANDARD LETTER FILE
  860.  
  861.  
  862.          _______________________________________________________________
  863.         |                                                              |
  864.         |                                                              |
  865.         |    Enter User Specified Code to Update Selected Records      |
  866.         |                                                              |
  867.         |    WARNING: The Update Routine Will NOT Insert the Code if   |
  868.         |         INSUFFICIENT Space Remains in the Code Field.        |
  869.         |         No Message Will Be Given.                            |
  870.         |                                                              |
  871.         |    Enter Code Value :            :                           |
  872.         |                                                              |
  873.         |______________________________________________________________|
  874.         
  875.         
  876.         
  877.         The  operator wants to update all selected records with the  code 
  878.         value  SEPT14 .
  879.         
  880.         
  881.          _______________________________________________________________
  882.         |                                                              |
  883.         |                                                              |
  884.         |    Enter User Specified Code to Update Selected Records      |
  885.         |                                                              |
  886.         |    WARNING: The Update Routine Will NOT Insert the Code if   |
  887.         |         INSUFFICIENT Space Remains in the Code Field.        |
  888.         |         No Message Will Be Given.                            |
  889.         |                                                              |
  890.         |    Enter Code Value :SEPT14      :                           |
  891.         |                                                              |
  892.         |______________________________________________________________|
  893.         
  894.         
  895.         
  896.         Note  that  the  system checks the codes field to  be  sure  that 
  897.         enough space remains in that field for the new code before adding 
  898.         it to the record. It is the user's responsibility to be sure that 
  899.         all selected records have enough unused space in the Codes  field 
  900.         to accomodate the new code.
  901.         
  902.         The  user may check selected data records to see if enough  space 
  903.         remains  by  selecting Option 1 from the  Main  Menu,  Enter/Edit 
  904.         Mailing List Data. Call up selected records and examine the Codes 
  905.         field.  The  far right hand corner of the Indicator Menu keeps  a 
  906.         count  of  the  number of characters remaining in the  field  for 
  907.         codes  values.  This count must be reduced by 1 since  new  codes 
  908.         added  to the field use an additional character (not displayed on 
  909.         the screen) to separate the codes.
  910.         
  911.         If  the count displayed on the screen exceeds the length  of  the 
  912.         new code, the data record will be updated correctly.
  913.         
  914.         Another  way  to check that adequate space remains in  the  Codes 
  915.         field  is to examine a print out of the file.  Scan the print out 
  916.         for  those  records which will be selected to see that  the  code 
  917.  
  918.  
  919.          10/7/84                     14                       southland
  920.  
  921.  
  922.  
  923.  
  924.  
  925.                   CREATE MAILING LABEL or STANDARD LETTER FILE
  926.  
  927.  
  928.         values  appearing  in  the print out don't  completely  fill  the 
  929.         column on the print out. Those records with full Codes fields may 
  930.         be  examined for enough remaining space in that field by  calling 
  931.         up the record as described above.
  932.         
  933.         To  make room for new codes in the Codes field,  delete  unneeded 
  934.         codes  values from individual records either by selecting indivi
  935.         dual  records in the Update/Edit function and delete the  surplus 
  936.         codes or select Option 4, Mailing List File Maintenance, and pick 
  937.         Option 5,  Add/Delete Codes. The operator then enters the surplus 
  938.         codes to be deleted from all records in the file.
  939.         
  940.         Since  the operator picked Option 2 on the Record Selection Menu, 
  941.         the system displays that selection criteria screen:
  942.         
  943.         
  944.          ______________________________________________________________
  945.         |                                                              |
  946.         |                                                              |
  947.         |         Develop Labels for Reference Code Records            |
  948.         |                                                              |
  949.         |                                                              |
  950.         |    Input Reference Code      :            :                  |
  951.         |                                                              |
  952.         |                                                              |
  953.         |    Input ZIP CODE Range   :    0:   TO  :99999:              |
  954.         |                                                              |
  955.         |                                                              |
  956.         |______________________________________________________________|
  957.         
  958.         
  959.         
  960.         The operator wishes to select all records with a code of  Auto ,
  961.         and a zip code range of 90000 to 91399:
  962.         
  963.         
  964.          ______________________________________________________________
  965.         |                                                              |
  966.         |                                                              |
  967.         |         Develop Labels for Reference Code Records            |
  968.         |                                                              |
  969.         |                                                              |
  970.         |    Input Reference Code      :Auto        :                  |
  971.         |                                                              |
  972.         |                                                              |
  973.         |    Input ZIP CODE Range   :90000:   TO  :91399:              |
  974.         |                                                              |
  975.         |                                                              |
  976.         |______________________________________________________________|
  977.         
  978.         
  979.         The  Input Reference Code is entered exactly as it appears in the 
  980.         Codes field. Note that the operator entered the code incorrectly. 
  981.         This code appears in the data file as  AUTO , much different from 
  982.         the value entered by the operator, Auto .
  983.  
  984.  
  985.          10/7/84                     15                       southland
  986.  
  987.  
  988.  
  989.  
  990.  
  991.                   CREATE MAILING LABEL or STANDARD LETTER FILE
  992.  
  993.  
  994.         
  995.         The  Input Reference Code is entered without quotes,  periods  or 
  996.         commas; these are reserved characters (eg ' , " . ).
  997.         
  998.         
  999.          ______________________________________________________________
  1000.         |                                                              |
  1001.         |                                                              |
  1002.         |         Develop Labels for Reference Code Records            |
  1003.         |                                                              |
  1004.         |                                                              |
  1005.         |    Input Reference Code      :Auto        :                  |
  1006.         |                                                              |
  1007.         |                                                              |
  1008.         |    Input ZIP CODE Range   :90000:   TO  :91399:              |
  1009.         |                                                              |
  1010.         |                                                              |
  1011.         |         0  RECORDS SELECTED.                                 |
  1012.         |                                                              |
  1013.         |    NO Data to Print.  Press Any Key to Continue.             |
  1014.         |    WAITING                                                   |
  1015.         |                                                              |
  1016.         |                                                              |
  1017.         |______________________________________________________________|
  1018.         
  1019.         
  1020.         Note that the system was unable to find any records which matched 
  1021.         the  selection criteria.  In this case,  the system  informs  the 
  1022.         operator and pauses.  When the operator presses a key, the system 
  1023.         returns to the Main Menu.
  1024.  
  1025.  
  1026.  
  1027.  
  1028.  
  1029.  
  1030.  
  1031.  
  1032.  
  1033.  
  1034.  
  1035.  
  1036.  
  1037.  
  1038.  
  1039.  
  1040.  
  1041.  
  1042.  
  1043.  
  1044.  
  1045.  
  1046.  
  1047.  
  1048.  
  1049.  
  1050.  
  1051.          10/7/84                     16                       southland
  1052.  
  1053.  
  1054.  
  1055.  
  1056.  
  1057.                   CREATE MAILING LABEL or STANDARD LETTER FILE
  1058.  
  1059.  
  1060.         OPTION 3, SELECT LABELS FOR USER BOOLEAN INPUT
  1061.         
  1062.         This  option allows the user to select records by zip code and by 
  1063.         a complex set of codes appearing in the Codes field.  This option 
  1064.         is  referred to as the Boolean option because the logical  selec
  1065.         tion criteria are built using Boolean operators (as the  computer 
  1066.         community calls them).
  1067.         
  1068.         The Boolean operators,  or logical operators,  permit the user to 
  1069.         select  records if a code appears or does not appear,  to  select 
  1070.         records if different codes do or don't appear in the same record.
  1071.         
  1072.         The Boolean or logical operators available to the user include:
  1073.         
  1074.              .NOT.     if the  code does not appear in the  Codes  field, 
  1075.                             consider the record for selection.  The .NOT. 
  1076.                             operator  works on a single code,  unlike the 
  1077.                             rest  of  the operators which  condition  the 
  1078.                             presence (or absence) or two different codes.
  1079.         
  1080.              .OR.      if the  code  appearing before or after  the  .OR. 
  1081.                             operator appears in the codes field, consider 
  1082.                             the record for selection.
  1083.         
  1084.              .AND.if  the  code appearing before and  the  code  ap
  1085.                             pearing after the .AND.  operator are both in 
  1086.                             the  codes  field,  consider the  record  for 
  1087.                             selection.
  1088.         
  1089.         
  1090.         For example, the selection sequence:
  1091.         
  1092.              'AUTO'.AND. .NOT.'CPM' .OR. 'DOS'
  1093.         
  1094.         will select records having codes equal to
  1095.         
  1096.              1. DOS
  1097.         
  1098.              2. AUTO but the code CPM may not be present.
  1099.         
  1100.         
  1101.         Notice  that code values are surrounded by ' .  The ' is what the 
  1102.         system uses to distinguish code values from logical operators.
  1103.         
  1104.         Notice  also  that logical operators are surrounded  by  periods. 
  1105.         These too are needed by the system to distinguish logical  opera
  1106.         tors from codes values.
  1107.         
  1108.         The  system  checks  that the quote marks and  commas  have  been 
  1109.         entered  correctly.  Logical operators must be surrounded by per
  1110.         iods; code values by quotes ( ' ).
  1111.         
  1112.         The  system flags incorrectly entered Selection Criteria.
  1113.         
  1114.  
  1115.  
  1116.  
  1117.          10/7/84                     17                       southland
  1118.  
  1119.  
  1120.  
  1121.  
  1122.  
  1123.                   CREATE MAILING LABEL or STANDARD LETTER FILE
  1124.  
  1125.  
  1126.         Parentheses  are not allowed as grouping operators in the  selec
  1127.         tion criteria. This may be partially overcome by running multiple 
  1128.         selections,  copying  the  selected records to another  file  and 
  1129.         deleting duplicates.
  1130.         
  1131.         Exhibit  II presents the detailed rules for constructing  Boolean 
  1132.         Selection Criteria.
  1133.         
  1134.         This  manual is not intended as a course in logic;  the  user  is 
  1135.         encouraged  to  build  a small data file with many codes  in  the 
  1136.         Codes field and try out different selection criteria.  The inter
  1137.         ested reader is referred to an introductory text in modern formal 
  1138.         logic.
  1139.         
  1140.         In the interests of brevity, the reader is assumed to be familiar 
  1141.         with the screens and options leading up to the Selection Criteria 
  1142.         screen.  After running though the preliminary screens, the system 
  1143.         displays this screen for option 3:
  1144.         
  1145.         
  1146.          ______________________________________________________________
  1147.         |                                                              |
  1148.         |                                                              |
  1149.         |         Develop Labels from Selected Records                 |
  1150.         |                                                              |
  1151.         |    Input ZIP CODE Range   :    0:   TO  :99999:              |
  1152.         |                                                              |
  1153.         |                                                              |
  1154.         |______________________________________________________________|
  1155.         
  1156.         
  1157.         The user enters the zip code ranges to include.  If the zip  code 
  1158.         in the data record does not fall in the range specified,  it will 
  1159.         not  be included even though the codes in the record may meet the 
  1160.         criteria.
  1161.         
  1162.         
  1163.          ______________________________________________________________
  1164.         |                                                              |
  1165.         |                                                              |
  1166.         |         Develop Labels from Selected Records                 |
  1167.         |                                                              |
  1168.         |    Input ZIP CODE Range   :    0:   TO  :99999:              |
  1169.         |                                                              |
  1170.         |                                                              |
  1171.         |                                                              |
  1172.         |     Input BOOLEAN criteria :                              :  |
  1173.         |                                                              |
  1174.         |                                                              |
  1175.         |______________________________________________________________|
  1176.         
  1177.         
  1178.         
  1179.         The user elected to select for all zip codes.  Therefore, the zip 
  1180.         code criteria will not restrict the selection of records.
  1181.  
  1182.  
  1183.          10/7/84                     18                       southland
  1184.  
  1185.  
  1186.  
  1187.  
  1188.  
  1189.                   CREATE MAILING LABEL or STANDARD LETTER FILE
  1190.  
  1191.  
  1192.         
  1193.         The  system  next  prompts for the logical criteria  to  use  for 
  1194.         selecting codes.  The user may enter and correct criteria so long 
  1195.         as the cursor stays within the field boundaries.
  1196.         
  1197.         
  1198.         
  1199.          ______________________________________________________________
  1200.         |                                                              |
  1201.         |                                                              |
  1202.         |         Develop Labels from Selected Records                 |
  1203.         |                                                              |
  1204.         |    Input ZIP CODE Range   :    0:   TO  :99999:              |
  1205.         |                                                              |
  1206.         |                                                              |
  1207.         |                                                              |
  1208.         |     Input BOOLEAN criteria :NOT.'AUTO .AND. CPM           :  |
  1209.         |                                                              |
  1210.         |                                                              |
  1211.         |     Scanning BOOLEAN Criteria for Errors. Please Wait.       |
  1212.         |                                                              |
  1213.         |______________________________________________________________|
  1214.         
  1215.         
  1216.         The  system scans the Selection Criteria entered by the user  for 
  1217.         errors. The system found some:
  1218.         
  1219.         
  1220.         
  1221.          ______________________________________________________________
  1222.         |                                                              |
  1223.         |                                                              |
  1224.         |         Develop Labels from Selected Records                 |
  1225.         |                                                              |
  1226.         |    Input ZIP CODE Range   :    0:   TO  :99999:              |
  1227.         |                                                              |
  1228.         |                                                              |
  1229.         |                                                              |
  1230.         |     Input BOOLEAN criteria :NOT.'AUTO .AND. CPM           :  |
  1231.         |         ERROR CODES:        CCC66666666CCC11111              |
  1232.         |                                                              |
  1233.         |    Errors found. Error codes appear underneath the           |
  1234.         |                        string in error.                      |
  1235.         |                                                              |
  1236.         |               Correct and Retry? (Y/N) :Y:                   |
  1237.         |                                                              |
  1238.         |______________________________________________________________|
  1239.         
  1240.         
  1241.         The system asks to the operator if the errors should be corrected or 
  1242.         if the selection should be abandoned and control returned to  the 
  1243.         Main Menu.
  1244.         
  1245.  
  1246.  
  1247.  
  1248.  
  1249.          10/7/84                     19                       southland
  1250.  
  1251.  
  1252.  
  1253.  
  1254.  
  1255.                   CREATE MAILING LABEL or STANDARD LETTER FILE
  1256.  
  1257.  
  1258.         The operator decides to correct the errors,  and after consulting 
  1259.         the  list  of  error codes in Exhibit I to  determine  the  exact 
  1260.         errors, enters:
  1261.         
  1262.         
  1263.          ______________________________________________________________
  1264.         |                                                              |
  1265.         |                                                              |
  1266.         |         Develop Labels from Selected Records                 |
  1267.         |                                                              |
  1268.         |    Input ZIP CODE Range   :    0:   TO  :99999:              |
  1269.         |                                                              |
  1270.         |                                                              |
  1271.         |                                                              |
  1272.         |     Input BOOLEAN criteria :.NOT.'AUTO' .AND. 'CPM'       :  |
  1273.         |                                                              |
  1274.         |                                                              |
  1275.         |______________________________________________________________|
  1276.         
  1277.         
  1278.         The user entered criteria to select any record which:
  1279.         
  1280.              1. does not have the code AUTO present
  1281.         
  1282.              2. the code CPM is present in the codes field.
  1283.         
  1284.         Since the .AND.  criteria was used, both criteria 1. and criteria 
  1285.         2. must both be true for the record to be selected.
  1286.         
  1287.         
  1288.          ______________________________________________________________
  1289.         |                                                              |
  1290.         |                                                              |
  1291.         |         Develop Labels from Selected Records                 |
  1292.         |                                                              |
  1293.         |    Input ZIP CODE Range   :    0:   TO  :99999:              |
  1294.         |                                                              |
  1295.         |                                                              |
  1296.         |                                                              |
  1297.         |     Input BOOLEAN criteria :.NOT.'AUTO' .AND. 'CPM'       :  |
  1298.         |                                                              |
  1299.         |                                                              |
  1300.         | No Errors Found. Building Selection Work File. Please Wait.  |
  1301.         |                                                              |
  1302.         |    Do you wish to continue? (Y/N) :N                         |
  1303.         |                                                              |
  1304.         |                                                              |
  1305.         |______________________________________________________________|
  1306.         
  1307.         
  1308.         If  an error is made in entering criteria but the user  does  not 
  1309.         realize it until after the return key is pressed,  the run may be 
  1310.         aborted  when  the system completes its error checking.  In  this 
  1311.         example, the operator decided to do just that. The system returns 
  1312.         to the Main Menu.
  1313.  
  1314.  
  1315.          10/7/84                     20                       southland
  1316.  
  1317.  
  1318.  
  1319.  
  1320.  
  1321.                   CREATE MAILING LABEL or STANDARD LETTER FILE
  1322.  
  1323.  
  1324.         
  1325.                               E R R O R   C O D E S
  1326.         
  1327.                          SCAN BOOLEAN SELECTION CRITERIA
  1328.         
  1329.         
  1330.         Error     Explanation
  1331.         
  1332.           1    Scanned to end of line without finding second period ( . ) 
  1333.                   delimiting a logical operator.
  1334.         
  1335.           2    Found two .NOT. operators in a row.
  1336.         
  1337.           3Found  two  Codes  Values  joined  by  .NOT.  rather  than 
  1338.                   .OR./.AND. eg. 'val1' .NOT. 'val2'
  1339.         
  1340.           4    Found two logical operators together, eg.
  1341.                   'val1' .AND. .OR. 'val2'
  1342.         
  1343.           5    Found the sequence  .NOT. <logical operator>  eg.
  1344.                   .NOT. .OR. 'val2'
  1345.         
  1346.           6    The string enclosed with .'s was not .AND. .OR. or .NOT.
  1347.         
  1348.           7    scanned to end of line without finding terminating '
  1349.         
  1350.           8    Found .AND. / .OR. before first code value
  1351.         
  1352.           9    No logical operator to join code values
  1353.         
  1354.           A    Shouldn't happen. Notify Southland Associates of the exact 
  1355.                   conditions leading up to the error.
  1356.         
  1357.           B    No code value entered between quotes.  Code values must be 
  1358.                   at least one character in length.
  1359.         
  1360.           C    Unidentified character string.  Searching for .  or '  and 
  1361.                   found this.
  1362.         
  1363.           D    No Selection Criteria entered.  If you wish to select  on 
  1364.                   Zip Code, only, use Option 1, Select ALL Records.
  1365.         
  1366.         
  1367.         
  1368.         
  1369.         
  1370.         
  1371.         
  1372.         
  1373.         
  1374.         
  1375.         
  1376.         
  1377.         
  1378.                                 E X H I B I T   I
  1379.  
  1380.  
  1381.          10/7/84                     21                       southland
  1382.  
  1383.  
  1384.  
  1385.  
  1386.  
  1387.                   CREATE MAILING LABEL or STANDARD LETTER FILE
  1388.  
  1389.  
  1390.                 RULES FOR CONSTRUCTING BOOLEAN SELECTION CRITERIA
  1391.                                    EXHIBIT II
  1392.         
  1393.         
  1394.         
  1395.         1. Code  Values  are surrounded by  quotes  (').  Any  characters 
  1396.              appearing between the quotes is considered a Code Value.
  1397.         
  1398.                   These values are correctly formed Code Values:
  1399.         
  1400.                        'JLB'
  1401.         
  1402.                        'Mrs. Smith?'
  1403.         
  1404.                        '-------:::::'
  1405.         
  1406.                   These values are incorrect:
  1407.         
  1408.                        JLB'                Code Value   not  enclosed  by 
  1409.                                                 quotes
  1410.         
  1411.                        'Mrs' Smith'        Extra quote mark. Possibly the 
  1412.                                                 quote  between  Mrs   and 
  1413.                                                 Smith   should   not   be 
  1414.                                                 there.
  1415.         
  1416.         2. Code Values are separated by the logical operators: .AND. .OR. 
  1417.              Logical  operators  determine  how  the  Codes  Values  will 
  1418.              trigger  the  selection or rejection of a data  record.  For 
  1419.              example:
  1420.         
  1421.              'AUTO' .AND. 'CPM'       The system   selects   only   those 
  1422.                                            records  which have the  codes 
  1423.                                            AUTO and CPM appearing in  the 
  1424.                                            same data record.
  1425.         
  1426.              'DOS' .OR. 'MINI'        The system selects any record which 
  1427.                                            has  the  code  value  DOS  or 
  1428.                                            MINI;  one  or the other  will 
  1429.                                            trigger selection.
  1430.         
  1431.         3. the operator .NOT. selects on the absence of a Code Value.
  1432.         
  1433.              .NOT. 'AUTO'        selects  all  records in which the  code 
  1434.                                       AUTO does not appear.
  1435.         
  1436.              .NOT. ' '           selects all records
  1437.         
  1438.         The .NOT.  operator appears in front of Codes Values and triggers 
  1439.         selection if the code does not appear.   .NOT.  does not join two 
  1440.         codes  values  together in a logical relationship like  .AND.  or 
  1441.          .OR. If this is attempted, the system will flag it as an error.
  1442.         
  1443.  
  1444.  
  1445.  
  1446.  
  1447.          10/7/84                     22                       southland
  1448.  
  1449.  
  1450.  
  1451.  
  1452.  
  1453.                   CREATE MAILING LABEL or STANDARD LETTER FILE
  1454.  
  1455.  
  1456.         4.  The logical operators .AND.   .OR.   .NOT.  may be entered in 
  1457.         upper or lower case.  .AND. is the same as   .and. to the system. 
  1458.         Codes Values, on the other hand, must be surrounded by quotes (') 
  1459.         and  entered exactly as it appears in the Codes field of the data 
  1460.         record or the system will not be able to match the code.
  1461.         
  1462.         5.  The  selection criteria is evaluated from left to right.  The 
  1463.         logical  value,  true or false,  determined at that point in  the 
  1464.         scan  is updated by the logical evaluation of the next  selection 
  1465.         criteria. For example,
  1466.         
  1467.         Codes in the data record:     AUTO      CPM       L91984     JB
  1468.         
  1469.         Selection Criteria:     'AUTO' .AND. .NOT. 'CPM' .OR. .NOT.'DOS'
  1470.              Scan Marker:       111111 22222222222222222 333333333333333
  1471.         
  1472.         
  1473.         Scan      Selection                                Logical Value
  1474.         Marker     Criteria           Action                   So Far
  1475.         
  1476.         1         'AUTO'              the code AUTO is pre    TRUE
  1477.                                       sent   in  the  Codes 
  1478.                                       field  of  the   data 
  1479.                                       record.
  1480.         
  1481.         2         .AND.  .NOT. 'CPM'  the  code CPM is pre
  1482.                                       sent, thus the selec
  1483.                                       tion  criteria  .NOT. 
  1484.                                       'CPM' is  false.  The 
  1485.                                       value  of the expres
  1486.                                       sion  so far is  True 
  1487.                                       .AND. False:             FALSE
  1488.         
  1489.         3         .OR.  .NOT.'DOS'    the  code DOS is  not 
  1490.                                       present,   thus   the 
  1491.                                       expression .NOT.'DOS' 
  1492.                                       is True and the value 
  1493.                                       of  the expresson  so 
  1494.                                       far   is  False  .OR. 
  1495.                                       True:                    TRUE
  1496.         
  1497.         The record will be selected.
  1498.         
  1499.         
  1500.         5.  Grouping parentheses "(" and ")" are not allowed. They may be 
  1501.         simulated by using the Update Another File with Selected  records 
  1502.         option.
  1503.         
  1504.         For  example,  selection  criteria using parentheses can be  sep
  1505.         arated into the individual expressions that the parentheses brac
  1506.         ket.  Each group of expressions that has been separated is joined 
  1507.         to the next separated expression by an .AND.  or .OR.  A strategy 
  1508.         is to make a pass at the data base for each separated expression, 
  1509.         selecting  records that meet the criteria.
  1510.         
  1511.  
  1512.  
  1513.          10/7/84                     23                       southland
  1514.  
  1515.  
  1516.  
  1517.  
  1518.  
  1519.                   CREATE MAILING LABEL or STANDARD LETTER FILE
  1520.  
  1521.  
  1522.         The  selected  records  are hospitalized on a  dummy  data  base. 
  1523.         Eventually,  the  records  on  this data base  will  reflect  the 
  1524.         logical result of our complex selection criteria.
  1525.         
  1526.         The  logical operator joining the expression determines  how  the 
  1527.         dummy data base will be updated by the next pass. 
  1528.         
  1529.              .AND.     Select from the existing records on the dummy data 
  1530.                             base.  Delete  any records which do not  meet 
  1531.                             the criteria.
  1532.         
  1533.              .OR.      Select  off the Mailing List data base and  update 
  1534.                             the dummy data base for the selected records. 
  1535.                             Instruct  the system to delete duplicate  Rec 
  1536.                             Id's  (otherwise,  the  dummy data base  will 
  1537.                             have  duplicate records which were placed  on 
  1538.                             the    dummy   data   base   from    previous 
  1539.                             selections).
  1540.         
  1541.         
  1542.         After  the final pass has been completed,  select all records off 
  1543.         the dummy file to create labels or build the file for input to  a 
  1544.         word  processor.  This approach will simulate parentheses in  the 
  1545.         Selection Criteria.
  1546.         
  1547.         6.  Blanks may be used to separate Code Values from operators and 
  1548.         are ignored when used as separators.
  1549.         
  1550.         Blanks are not ignored when they appear as a Code  Value.  There
  1551.         fore,  if  a  Code Value is entered in the Selection Criteria  as 
  1552.         'MRS SMITH' but the code appears in the data record as MRSSMITH , 
  1553.         the system will not match the Code Value to the code.
  1554.         
  1555.         They may not appear within the string defining logical operators;  
  1556.          . N O T. is invalid.
  1557.         
  1558.         7.  The system checks the Selection Criteria for errors and flags 
  1559.         them. A list of error codes appears in Exhibit I.
  1560.         
  1561.         
  1562.         
  1563.         
  1564.         
  1565.         
  1566.         
  1567.         
  1568.         
  1569.         
  1570.         
  1571.         
  1572.         
  1573.                                    EXHIBIT II
  1574.  
  1575.  
  1576.  
  1577.  
  1578.  
  1579.          10/7/84                     24                       southland
  1580.  
  1581.  
  1582.  
  1583.  
  1584.  
  1585.                   CREATE MAILING LABEL or STANDARD LETTER FILE
  1586.  
  1587.  
  1588.                    STRUCTURE  of the OUTPUT FILE, MLABELS.TXT
  1589.         
  1590.         Field      Name in                                     Maximum
  1591.         Number    LETTER.FRM     Values Appearing in Field     Width
  1592.         
  1593.           1       CONAME         Name of Company or Person     40
  1594.         
  1595.           2       ADDR1          Address Line 1                30
  1596.         
  1597.           3       ADDR2          Address Line 2                30
  1598.         
  1599.           4       CITY           City  State  Zip              30
  1600.         
  1601.           5       NAME           Contact Name  or  Comment 1   30
  1602.         
  1603.           6       TITLE          Title  or  Comment 2          30
  1604.         
  1605.           7       ZIP            Zip Code                      5
  1606.         
  1607.           8                      not used                      0
  1608.         
  1609.           9       PHONE          Phone Number                  18
  1610.         
  1611.          10                      not used                      0
  1612.         
  1613.          11       CDAT           Date this File Built          8
  1614.         
  1615.          12       FIRSTNAM       Greeting Name                 30
  1616.         
  1617.          13       RECID          Record ID                     4
  1618.         
  1619.         
  1620.         
  1621.         
  1622.         
  1623.         
  1624.         
  1625.         
  1626.         
  1627.         
  1628.         
  1629.         
  1630.         
  1631.         
  1632.         
  1633.         
  1634.         
  1635.         
  1636.         
  1637.         
  1638.         
  1639.                                    EXHIBIT III
  1640.  
  1641.  
  1642.  
  1643.  
  1644.  
  1645.          10/7/84                     25                       southland
  1646.  
  1647.  
  1648.  
  1649.  
  1650.  
  1651.                   CREATE MAILING LABEL or STANDARD LETTER FILE
  1652.  
  1653.  
  1654.                     ORGANIZATION OF WORD STAR STRUCTURE FILES
  1655.         
  1656.         MAIL MERGE  Calls One of these 
  1657.         FILE NAME   Format Files           Purpose
  1658.         
  1659.         MLPRINT     MLLAB1.TXT             print mailing labels
  1660.                                             1 up,   4" x 1 1/2"
  1661.         
  1662.                     MLLAB3.TXT             print mailing labels
  1663.                                            3 up,  3 1/2" x 15/16"
  1664.         
  1665.                     MLLABR.TXT             print Rollodex cards
  1666.                                            1 up,  3 1/2" x 2"
  1667.         
  1668.         
  1669.         LETTERPRN   LETTER.TXT             user supplied custom letter
  1670.         
  1671.         
  1672.         
  1673.         
  1674.         
  1675.         
  1676.         
  1677.         
  1678.         
  1679.         
  1680.         
  1681.         
  1682.         
  1683.         
  1684.         
  1685.         
  1686.         
  1687.         
  1688.         
  1689.         
  1690.         
  1691.         
  1692.         
  1693.         
  1694.         
  1695.         
  1696.         
  1697.         
  1698.         
  1699.         
  1700.         
  1701.         
  1702.         
  1703.         
  1704.         
  1705.         
  1706.         
  1707.         
  1708.                                    EXHIBIT IV
  1709.  
  1710.  
  1711.          10/7/84                     26                       southland
  1712.  
  1713.  
  1714.  
  1715.  
  1716.  
  1717.                   CREATE MAILING LABEL or STANDARD LETTER FILE
  1718.  
  1719.  
  1720.             NOTES ON USE OF LETTER.FMT - CUSTOM LETTER FRAMEWORK FILE
  1721.         
  1722.         
  1723.         Purpose:  The purpose of this file is to provide the user with  a 
  1724.              framework  for  preparing and printing custom  letters.  The 
  1725.              system  automatically fills in Names and Addresses  selected 
  1726.              from the Mailing list file and collected in the output  file 
  1727.              MLABELS.TXT.
  1728.         
  1729.              These  notes  describe  the function of the Word  Star  word 
  1730.              processor.  Other word processors perform similar  functions 
  1731.              and  these instructions may be used as a general guide  line 
  1732.              when interfacing with these word processors.
  1733.         
  1734.         Display of LETTER.FMT:
  1735.         
  1736.          ..                                                                                                                                                                                                                                                                9/14/84
  1737.          .. This file contains the text and variable field names embedded within the text
  1738.          ..  to print the desired letter. The file LETTRPRN handles the set up and calls
  1739.          ..   this file with the variable names to insert in the letter.
  1740.          .. The fields available for inclusion in the letter:
  1741.          ..                                CONAME                                                                primary name field
  1742.          ..                                ADDR1                                                                first line address
  1743.          ..                                ADDR2                                                                second line address
  1744.          ..                                CITY                                                                fourth line address
  1745.          ..                                NAME                                                                contact name or Comment 1 - see label create menu
  1746.          ..                                TITLE                                                                the title of the contact person or Comment 2 - see label create menu
  1747.          ..                                ZIP                                                                zip code
  1748.          ..                                CDAT                                                                current date or date that letter/label file created
  1749.          ..                                PHONE                                                                phone number of prospect
  1750.          ..                                FIRSTNAM                                the first name (as entered to the data base) of the primary name field person(s)
  1751.          ..                                RECID                                                                Record ID of the selected record
  1752.          ..
  1753.         &CDAT&
  1754.         
  1755.         
  1756.         &NAME/O&  &TITLE/O&
  1757.         &CONAME&
  1758.         &ADDR1&
  1759.         &ADDR2/O&
  1760.         &CITY/O&
  1761.         
  1762.         Dear &FIRSTNAM&:
  1763.         
  1764.         Southland  Associates  would  like to take  this  opportunity  to 
  1765.         congratulate you,  &FIRSTNAM&,  on your purchase of List Manager. 
  1766.         This system will satisfy your mailing requirements for many years 
  1767.         to come.
  1768.         
  1769.         Computer systems,  like everything else,  are constantly evolving 
  1770.         and  improving.  These evolutionary enhancements and upgrades are 
  1771.         available  to registered and qualified users of  the  system.  In 
  1772.         order  to  receive these periodic upgrades,  please fill out  and 
  1773.         return  your warantee card along with a payment for $15  for  the 
  1774.         first year.
  1775.  
  1776.  
  1777.          10/7/84                     27                       southland
  1778.  
  1779.  
  1780.  
  1781.  
  1782.  
  1783.                   CREATE MAILING LABEL or STANDARD LETTER FILE
  1784.  
  1785.  
  1786.         Keep  your  system  up to date.  Return your  warantee  card  and 
  1787.         payment for $25, now.
  1788.         
  1789.         
  1790.         
  1791.                                            Yours truly,
  1792.                                            SOUTHLAND ASSOCIATES
  1793.         
  1794.         recid &RECID&
  1795.         &PHONE/O&
  1796.         sort zip &ZIP/O&
  1797.         
  1798.         
  1799.         NOTES on use of File:
  1800.         
  1801.         1.  the  fields available to use in your letter are listed above. 
  1802.         These are the only fields available.
  1803.         
  1804.         2. The command to Word Star to display the field at that point in 
  1805.         the text is to surround the Field Name with "&" s.  For  Example, 
  1806.         the  greeting name as carried in the mailing list file is  called 
  1807.         up  by placing the command &FIRSTNAM& at the appropriate place in 
  1808.         the text.
  1809.         
  1810.         Word  Star takes care of justifying and formatting the  paragraph 
  1811.         after the substitution has been made.
  1812.         
  1813.         In the example above,  FIRSTNAM has been used twice,  once in the 
  1814.         salutation of the letter and again in the body of the letter.
  1815.         
  1816.         To  delete any appearance of the parameter including  a  separate 
  1817.         line (if the parameter appears on a separate line),  insert /O in 
  1818.         the parameter field.  The parameter field ZIP is called up at the 
  1819.         end  of the letter.  If no value has been entered in the  mailing 
  1820.         list  file,  the  command  &ZIP/O& causes the  print  routine  to 
  1821.         drop all space reserved for ZIP in the final printed output.
  1822.         
  1823.         3. To prepare a custom letter using LETTER.FMT as the framework:
  1824.         
  1825.              a. copy LETTER.FMT to the file name LETTER.TXT
  1826.         
  1827.              b. erase the demonstration text supplied and enter the text, 
  1828.                   formatted  as it should appear on the finished  letter, 
  1829.                   in place of the deleted text.
  1830.         
  1831.         4. To print your customer letter:
  1832.         
  1833.              a. 
  1834.  
  1835.  
  1836.  
  1837.  
  1838.  
  1839.  
  1840.  
  1841.  
  1842.          10/7/84                     28                       southland
  1843.  
  1844.  
  1845.  
  1846.  
  1847.  
  1848.